/*
  Filename: Notification.js
  Description:
*/
define([
  'utils/Conf',
  'models/Model'
], function(Conf, Model){
  var Notification = Model.extend({
    url: function() {
      var urlBase = Conf.routes.users.notifications;
      if(this.id) {
        urlBase += "/" + this.id;
      }

      return urlBase;
    }
  });

  return Notification;
});